package cn.client.navigation.destinations

import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.AccountCircle
import androidx.compose.material.icons.filled.ChatBubbleOutline
import androidx.compose.material.icons.filled.DynamicFeed
import androidx.compose.material.icons.filled.Mediation
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.res.stringResource
import cn.client.R

/**
 * 定义目的地
 */
interface AppDestination {
    val icon: ImageVector
    val label: Int
    val route: String
}

/**
 * 底部导航栏
 * */
object Overview : AppDestination {
    override val icon = Icons.Default.DynamicFeed
    override val label = R.string.bottom_navigation_dynamic
    override val route = "overview"
}

object Mindfulness : AppDestination {
    override val icon = Icons.Default.Mediation
    override val label = R.string.bottom_navigation_mindfulness
    override val route = "mindfulness"
}

object Message : AppDestination {
    override val icon = Icons.Default.ChatBubbleOutline
    override val label = R.string.bottom_navigation_msg
    override val route = "message"
}

object Myself : AppDestination {
    override val icon = Icons.Default.AccountCircle
    override val label = R.string.bottom_navigation_myself
    override val route = "myself"
}




// TODO: 根据业务扩展新的底部导航

/**
 * 起始页
 */
object AppStart {
    const val route = "appStart"
}

object StartLoading {
    const val route = "startLoading"
}

object EditUserInfo {
    const val route = "editUserInfo"
}

object CurrentChatPage {
    const val route = "currentChatPage"
}

//  痛苦回避事项页面
object AvoidancePainPageRoute {
    const val route = "avoidancePainPage"
}

//  创建痛苦回避事项页面
object AvoidancePainCreateRoute {
    const val route = "avoidancePainCreate"
}

// 情绪日志页面
object EmotionLogPageRoute {
    const val route = "emotionLogPageRoute"
}

// 创建情绪日志页面
object EmotionLogCreateRoute {
    const val route = "emotionLogCreateRoute"
}





val AppBottomScreens = listOf(Overview, Mindfulness, Message, Myself)